package com.fen.demo010;

import com.fen.common.CarDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author : lrf
 * @description :
 * @tip :
 * @date : 2019/3/22
 */
public class App {

    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(HelloWorldConfiguration.class);

        CarDao carDao = context.getBean("aa", CarDao.class);

        carDao.say();
    }
}
